package com.atguigu.eduorder.client;

import com.atguigu.commonutils.vo.orderVo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @create: 2022/10/12
 * @Description:
 * @FileName: UcenterClient
 * @自定义内容：
 */
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    @GetMapping("/educenter/member/getUserInfoOrder/{userId}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("userId") String userId);
}
